package com.example.basicdemo.model.domain;

import com.isyscore.os.dev.api.IsyscoreObject;

import java.util.List;

/**
 * @Description: java类作用描述
 * @Author:
 * @CreateDate: 2019/8/27 10:15
 * @Version: 1.0
 */
public class DataAuthRegisterHasDomain implements IsyscoreObject {

    /**
     * 应用标识码
     */
    private String appCode;

    /**
     * 应用名称
     */
    private String appName;

    /**
     * 数据角色id
     */
    private Integer authId;

    /**
     *
     */
    private List<DataSpaceRuleDomain> rule;

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public Integer getAuthId() {
        return authId;
    }

    public void setAuthId(Integer authId) {
        this.authId = authId;
    }

    public List<DataSpaceRuleDomain> getRule() {
        return rule;
    }

    public void setRule(List<DataSpaceRuleDomain> rule) {
        this.rule = rule;
    }

    @Override
    public String toString() {
        return "DataAuthRegisterHasDomain{" +
                "appCode='" + appCode + '\'' +
                ", appName='" + appName + '\'' +
                ", authId=" + authId +
                ", rule=" + rule +
                '}';
    }
}
